Motion.GetAxisDigitalOutput method

Gets the value of a digital output indicated by the index. It provides the value of the output (bool).

Namespace: IntervalZero.KINGSTAR.Local.Api

Assembly: IntervalZero.KINGSTAR.Local.Api (in IntervalZero.KINGSTAR.Local.dll) Version: 4.4.0.0

Syntax

C#VB
public KsReturn<bool> GetAxisDigitalOutput(
       int Index,
       int OutputNumber
)
Public Function GetAxisDigitalOutput(
       Index As Integer,
       OutputNumber As Integer
) As KsReturn(Of Boolean)

Parameters

Index [in]

Type: int

The index of an output signal source (axis). Indexes are zero based. Aliases affect this parameter.

 

OutputNumber [in]

Type: int

Selects an output. The range is 0-31.

Return value

Type: KsReturn<bool>

Returns a KsError code and a bool value.

Examples

C#
N/A

See also

Motion Class

IntervalZero.KINGSTAR.Local.Api Namespace